package com.ruoyi.material.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author
 * @Version 1.0
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MateProductModel extends BaseEntity {
    private int warehousingNum;
    private String mateProductName;
    private Long mateModeno;//主键id
    private Long deptId;
    private Long mateproductId;
    private String mateProductType;
    private String mateModelCode;
    private String mateBatch;
    private int num;
    private String unit;
    private BigDecimal taxPrice;
    private BigDecimal taxTotal;
    private String mateProducttypeDePict;//型号/规格描述
    private String procurement;//定点采购
    private String check;//验收记录
    private String sampling;//取样
    private String checkout;//检验
    private String result;//检验结果
    private String storeDepict;//储存条件
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Long purchaseCycle;//到货的周期天数
    private String purchaseUnit;//采购的周期单位
    private int selectCycle;//选择要查询的天数周期
    private Long purchaseTime;//采购时间点

    private Integer comparisonCycle; // 对比周期
    private Integer procurementCycle; // 采购周期

    private Long materialId; // 供应商ID

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public Integer getComparisonCycle() {
        return comparisonCycle;
    }

    public void setComparisonCycle(Integer comparisonCycle) {
        this.comparisonCycle = comparisonCycle;
    }

    public Integer getProcurementCycle() {
        return procurementCycle;
    }

    public void setProcurementCycle(Integer procurementCycle) {
        this.procurementCycle = procurementCycle;
    }

    public Long getPurchaseCycle() {
        return purchaseCycle;
    }

    public void setPurchaseCycle(Long purchaseCycle) {
        this.purchaseCycle = purchaseCycle;
    }

    public String getPurchaseUnit() {
        return purchaseUnit;
    }

    public void setPurchaseUnit(String purchaseUnit) {
        this.purchaseUnit = purchaseUnit;
    }

    public int getSelectCycle() {
        return selectCycle;
    }

    public void setSelectCycle(int selectCycle) {
        this.selectCycle = selectCycle;
    }

    public Long getPurchaseTime() {
        return purchaseTime;
    }

    public void setPurchaseTime(Long purchaseTime) {
        this.purchaseTime = purchaseTime;
    }

    public int getWarehousingNum() {
        return warehousingNum;
    }

    public void setWarehousingNum(int warehousingNum) {
        this.warehousingNum = warehousingNum;
    }

    public String getMateProductName() {
        return mateProductName;
    }

    public void setMateProductName(String mateProductName) {
        this.mateProductName = mateProductName;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public BigDecimal getTaxPrice() {
        return taxPrice;
    }

    public void setTaxPrice(BigDecimal taxPrice) {
        this.taxPrice = taxPrice;
    }

    public BigDecimal getTaxTotal() {
        return taxTotal;
    }

    public void setTaxTotal(BigDecimal taxTotal) {
        this.taxTotal = taxTotal;
    }

    public String getMateProducttypeDePict() {
        return mateProducttypeDePict;
    }

    public void setMateProducttypeDePict(String mateProducttypeDePict) {
        this.mateProducttypeDePict = mateProducttypeDePict;
    }

    public Long getMateModeno() {
        return mateModeno;
    }

    public void setMateModeno(Long mateModeno) {
        this.mateModeno = mateModeno;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getStoreDepict() {
        return storeDepict;
    }

    public void setStoreDepict(String storeDepict) {
        this.storeDepict = storeDepict;
    }

    public String getProcurement() {
        return procurement;
    }

    public void setProcurement(String procurement) {
        this.procurement = procurement;
    }

    public String getCheck() {
        return check;
    }

    public void setCheck(String check) {
        this.check = check;
    }

    public String getSampling() {
        return sampling;
    }

    public void setSampling(String sampling) {
        this.sampling = sampling;
    }

    public String getCheckout() {
        return checkout;
    }

    public void setCheckout(String checkout) {
        this.checkout = checkout;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Long getMateproductId() {
        return mateproductId;
    }

    public void setMateproductId(Long mateproductId) {
        this.mateproductId = mateproductId;
    }

    public String getMateProductType() {
        return mateProductType;
    }

    public void setMateProductType(String mateProductType) {
        this.mateProductType = mateProductType;
    }

    public String getMateModelCode() {
        return mateModelCode;
    }

    public void setMateModelCode(String mateModelCode) {
        this.mateModelCode = mateModelCode;
    }

    public String getMateBatch() {
        return mateBatch;
    }

    public void setMateBatch(String mateBatch) {
        this.mateBatch = mateBatch;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
